package com.koushikdutta.async.http;

import com.koushikdutta.async.AsyncSocket;

public interface WebSocket extends AsyncSocket {

    public interface StringCallback {
        void onStringAvailable(String str);
    }

    public interface PongCallback {
        void onPongReceived(String str);
    }

    void send(byte[] bArr);

    void setStringCallback(StringCallback stringCallback);
}
